def sum_of_list(parm_list):
        totle = 0
        for item in parm_list:
            totle += item
        return totle
             

list1 = [1, 2, 3, 4]
list2 = [17, 2, 3, 4]

print(f"sum of list1: {sum_of_list(list1)}")
print(f"sum of list2: {sum_of_list(list2)}")
